 package com.oanda.blackberry.ui;
 
 import net.rim.device.api.ui.Field;
 import net.rim.device.api.ui.Font;
 import net.rim.device.api.ui.Graphics;
 import net.rim.device.api.ui.component.LabelField;
 
 public class ColoredLabelField extends LabelField
 {
   int fontColor;
 
   public ColoredLabelField(int color)
   {
     this.fontColor = color;
   }
 
   public ColoredLabelField(int color, String label) {
     super(label);
     this.fontColor = color;
   }
 
   public ColoredLabelField(int color, String label, long style) {
     super(label, style);
     this.fontColor = color;
     setFont(Font.getDefault().derive(1));
   }
 
   public void paint(Graphics graphics) {
     graphics.setColor(this.fontColor);
     super.paint(graphics);
   }
}

